// Test file

#include "GUIState.h"

using namespace CC3501_Main_GUI;

[STAThreadAttribute]
int main(array<System::String ^> ^args)
{
	GUIState ^ state = gcnew GUIState();
	
	state->setInputCSVFilePath("C:\\Users\\robert\\Downloads\\latest-occurrences\\public_occur.csv");
	List<array<String^>^>^ processedCSV = state->convertCSVFileToArray();
	
	Debugger::Log(0, nullptr, "Rows within CSV: ");
	Debugger::Log(0, nullptr, Convert::ToString(processedCSV->Count));
	Debugger::Log(0, nullptr, "\n");

	for each(array<String^>^ csvRow in processedCSV)
	{
		for each(String^ col in csvRow) {
			Debugger::Log(0, nullptr, col);		
			Debugger::Log(0, nullptr, ", ");
		}
		Debugger::Log(0, nullptr, "\n");
		
	}
	
	return 0;
}
